package com.xqboss.apps.dto.consumer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author Administrator
 */
@Getter
@Setter
public class ConsumerTeamDelDto {

    @ApiModelProperty("队伍id")
    @NotNull(message = "请输入队伍ID")
    private Integer id;

    @ApiModelProperty("被删除成员ids")
    @NotNull(message = "请输入成员列表")
    @Size(min = 1, message = "至少给一个用户")
    private List<Long> teamMemberIds;
}
